export const _id = (index: number) => `e99f09a7-dd88-49d5-b1c8-1daf80c2d7b${index}`;

export const _times = (index: number) =>
  // 'MM/DD/YYYY'
  [
    '11/08/2023',
    '04/09/2024',
    '09/12/2023',
    '01/01/2024',
    '04/23/2024',
    '02/29/2024',
    '05/14/2024',
    '01/13/2024',
    '06/22/2024',
    '10/05/2023',
    '07/11/2024',
    '05/22/2024',
    '03/29/2024',
    '08/29/2023',
    '11/19/2023',
    '10/24/2023',
    '12/02/2023',
    '02/13/2024',
    '09/19/2023',
    '04/17/2024',
    '12/18/2023',
    '06/27/2024',
    '10/19/2023',
    '08/09/2024',
  ][index];

export const _fullName = (index: number) =>
  [
    'Billy Stoltenberg',
    'Eloise Ebert',
    'Teresa Luettgen',
    'Salvador Mayert',
    'Dr. Guadalupe Rath',
    'Kelvin Pouros',
    'Thelma Langworth',
    'Kristen Wunsch',
    'Steve Welch',
    'Brian Jacobs',
    'Lillie Schultz',
    'Mr. Conrad Spinka',
    'Charlene Krajcik',
    'Kerry Kuhlman',
    'Betty Hammes',
    'Tony Paucek PhD',
    'Sherri Davis',
    'Angel Rolfson-Kulas',
    'Dr. Lee Doyle-Grant',
    'Cheryl Romaguera',
    'Billy Braun',
    'Adam Trantow',
    'Brandon Von',
    'Willis Ankunding',
  ][index];

export const _envDatas = (index: number) =>
    [
        {
           name: 'Java',
           version: 'openjdk version "17.0.10" 2024-01-16 LTS',
           path: 'D:\\tools\\java\\jdk\\zulu17.48.15',
           status: 'active',
        },
        {
            name: 'Docker',
            version: 'Docker version 26.1.4, build 5650f9b',
            path: ' C:\\Program Files\\Docker',
            status: 'active',
        },
        {
            name: 'Node',
            version: 'v20.9.0',
            path: 'C:\\Program Files\\nodejs\\',
            status: 'banned',
        },
        {
            name: 'Maven',
            version: 'Apache Maven 3.6.3',
            path: 'D:\\tools\\maven\\apache-maven-3.6.3-bin\\apache-maven-3.6.3',
            status: 'active',
        },
        {
            name: 'Python',
            version: 'Python 3.12.2',
            path: 'Python',
            status: 'banned',
        }
    ][index];


export const _docDatas = (index: number) =>
    [
        {
            "coverUrl": "/assets/images/cover/cover-1.webp",
            "description": "概述项目目标、范围和关键里程碑。",
            "id": 1,
            "title": "项目启动指南",
            "postedAt": "01/15/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-2.webp",
            "description": "详细定义系统的功能和非功能性需求。",
            "id": 2,
            "title": "需求规格说明书 v2.0",
            "postedAt": "02/01/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-3.webp",
            "description": "描述系统的主要组件、模块及其相互关系。",
            "id": 3,
            "title": "系统架构设计",
            "postedAt": "02/15/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-4.webp",
            "description": "包含数据库schema、表结构和字段说明。",
            "id": 4,
            "title": "数据库设计文档",
            "postedAt": "03/01/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-5.webp",
            "description": "说明如何使用和集成系统提供的API接口。",
            "id": 5,
            "title": "API 集成指南",
            "postedAt": "03/10/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-6.webp",
            "description": "定义用户界面的设计原则、组件和交互模式。",
            "id": 6,
            "title": "用户界面规范",
            "postedAt": "03/25/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-7.webp",
            "description": "概述测试范围、策略、资源和时间表。",
            "id": 7,
            "title": "测试计划",
            "postedAt": "04/05/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-8.webp",
            "description": "详细说明如何将系统部署到生产环境。",
            "id": 8,
            "title": "部署手册",
            "postedAt": "04/12/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-9.webp",
            "description": "提供系统日常运维、监控和故障排除的指导。",
            "id": 9,
            "title": "运维指南",
            "postedAt": "04/20/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-10.webp",
            "description": "定义系统的安全原则、措施和风险管理方法。",
            "id": 10,
            "title": "安全策略",
            "postedAt": "04/27/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-11.webp",
            "description": "分析系统性能瓶颈并提出优化建议。",
            "id": 11,
            "title": "性能优化报告",
            "postedAt": "05/05/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-12.webp",
            "description": "定义项目代码的编写风格和最佳实践。",
            "id": 12,
            "title": "代码规范",
            "postedAt": "05/15/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-13.webp",
            "description": "说明如何参与项目贡献代码和文档。",
            "id": 13,
            "title": "贡献者指南",
            "postedAt": "05/22/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-14.webp",
            "description": "声明项目的开源许可条款。",
            "id": 14,
            "title": "许可协议",
            "postedAt": "06/01/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-15.webp",
            "description": "列出本次版本更新的新功能、修复和改进。",
            "id": 15,
            "title": "版本发布说明 v1.1",
            "postedAt": "06/10/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-16.webp",
            "description": "以用户故事的形式展示系统的功能和用户流程。",
            "id": 16,
            "title": "用户故事地图",
            "postedAt": "06/20/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-17.webp",
            "description": "描述系统中使用的数据实体及其关系。",
            "id": 17,
            "title": "数据模型",
            "postedAt": "07/01/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-18.webp",
            "description": "提供常见问题的解决方案和排查步骤。",
            "id": 18,
            "title": "故障排除指南",
            "postedAt": "07/10/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-19.webp",
            "description": "展示项目未来的发展方向和计划。",
            "id": 19,
            "title": "未来规划路线图",
            "postedAt": "07/20/2024"
        },
        {
            "coverUrl": "/assets/images/cover/cover-20.webp",
            "description": "用于新员工或用户进行系统培训的资料。",
            "id": 20,
            "title": "培训材料",
            "postedAt": "07/27/2024"
        }
    ][index];


export const _price = (index: number) =>
  [
    35.17, 57.22, 64.78, 50.79, 9.57, 61.46, 96.73, 63.04, 33.18, 36.3, 54.42, 20.52, 62.82, 19.96,
    25.93, 70.39, 23.11, 67.23, 14.31, 31.5, 26.72, 44.8, 37.87, 75.53,
  ][index];

export const _company = (index: number) =>
  [
    'Medhurst, Moore and Franey',
    'Hahn, Homenick and Lind',
    'Larkin LLC',
    'Stamm, Larson and Mertz',
    'Spencer, Raynor and Langosh',
    'Lehner - Feeney',
    'Leuschke, Harris and Kuhlman',
    'Gutmann - Kassulke',
    'Turcotte - Runolfsson',
    'Howe - Anderson',
    'Sipes - Yost',
    'Johns - Aufderhar',
    'Schmidt LLC',
    'Smitham - Gerlach',
    'Waelchi - VonRueden',
    'Padberg - Macejkovic',
    'Lemke - Ferry',
    'Koch and Sons',
    'Klein - Rolfson',
    'Weimann LLC',
    'White, Cassin and Goldner',
    'Mohr, Langworth and Hills',
    'Mitchell, Volkman and Prosacco',
    'Streich Group',
  ][index];

export const _boolean = (index: number) =>
  [
    true,
    false,
    true,
    false,
    true,
    true,
    true,
    false,
    false,
    true,
    false,
    true,
    true,
    false,
    true,
    false,
    false,
    true,
    false,
    false,
    false,
    true,
    true,
    false,
  ][index];
export const _postTitles = (index: number) =>
    [
        'Alpha项目',
        '电商平台',
        '客户门户',
        '移动应用后端',
        '数据分析看板',
        'API网关',
        '支付处理系统',
        '管理后台',
        '库存管理系统',
        '用户认证服务',
        '内容分发网络',
        '通知服务',
        '前端改版',
        '订单处理系统',
        '搜索引擎优化',
        'CRM集成',
        '日志系统',
        '计费模块',
        '移动应用',
        'Web应用',
        '微服务架构',
        '数据管道',
        '安全系统',
        '报表工具'
    ][index];

export const _description = (index: number) =>
    [
        '项目的核心功能模块，旨在提供基础服务能力。',
        '提供在线商品交易、订单管理、用户购物等功能的综合平台。',
        '供客户访问和管理其账户、订单、服务信息的在线入口。',
        '为移动应用程序提供数据支持、业务逻辑处理和API接口。',
        '用于收集、分析和展示关键业务数据的可视化工具。',
        '作为所有后端服务的统一入口，负责请求路由、安全控制和流量管理。',
        '处理用户支付请求、管理交易流程并保障支付安全的关键系统。',
        '供管理员管理系统配置、用户权限、内容等的核心控制界面。',
        '跟踪和管理商品库存、出入库操作以及库存水平的系统。',
        '验证用户身份、管理用户会话并提供安全认证服务的核心组件。',
        '加速内容分发，提升用户访问网站和应用资源速度的网络基础设施。',
        '用于发送各种通知消息，如邮件、短信、推送等的服务系统。',
        '对用户界面和用户体验进行重新设计和改进的项目。',
        '处理用户订单的创建、管理、支付和履行的核心业务系统。',
        '通过优化网站结构和内容，提升在搜索引擎结果中的排名。',
        '集成客户关系管理系统，实现客户数据同步和业务流程协同。',
        '收集、存储和分析系统及应用日志，用于故障排查和性能监控。',
        '处理用户费用计算、账单生成和支付管理等相关业务逻辑的模块。',
        '面向移动设备用户的应用程序，提供特定功能或服务。',
        '通过浏览器访问的应用程序，提供特定功能或服务。',
        '将应用程序拆分为小型独立服务，以提高可伸缩性和可维护性。',
        '负责数据的抽取、转换和加载，用于支持数据分析和业务决策。',
        '保障系统和数据安全，防御各种网络攻击和数据泄露的系统。',
        '生成各种业务报表，帮助用户分析数据和做出决策的工具。'
    ][index];


export const _taskNames = (index: number) =>
  [
    `Prepare Monthly Financial Report`,
    `Design New Marketing Campaign`,
    `Analyze Customer Feedback`,
    `Update Website Content`,
    `Conduct Market Research`,
    `Develop Software Application`,
    `Organize Team Meeting`,
    `Create Social Media Posts`,
    `Review Project Plan`,
    `Implement Security Protocols`,
    `Write Technical Documentation`,
    `Test New Product Features`,
    `Manage Client Inquiries`,
    `Train New Employees`,
    `Coordinate Logistics`,
    `Monitor Network Performance`,
    `Develop Training Materials`,
    `Draft Press Release`,
    `Prepare Budget Proposal`,
    `Evaluate Vendor Proposals`,
    `Perform Data Analysis`,
    `Conduct Quality Assurance`,
    `Plan Event Logistics`,
    `Optimize SEO Strategies`,
  ][index];

export const _productNames = (index: number) =>
  [
    'Nike Air Force 1 NDESTRUKT',
    'Nike Space Hippie 04',
    'Nike Air Zoom Pegasus 37 A.I.R. Chaz Bear',
    'Nike Blazer Low 77 Vintage',
    'Nike ZoomX SuperRep Surge',
    'Zoom Freak 2',
    'Nike Air Max Zephyr',
    'Jordan Delta',
    'Air Jordan XXXV PF',
    'Nike Waffle Racer Crater',
    'Kyrie 7 EP Sisterhood',
    'Nike Air Zoom BB NXT',
    'Nike Air Force 1 07 LX',
    'Nike Air Force 1 Shadow SE',
    'Nike Air Zoom Tempo NEXT%',
    'Nike DBreak-Type',
    'Nike Air Max Up',
    'Nike Air Max 270 React ENG',
    'NikeCourt Royale',
    'Nike Air Zoom Pegasus 37 Premium',
    'Nike Air Zoom SuperRep',
    'NikeCourt Royale',
    'Nike React Art3mis',
    'Nike React Infinity Run Flyknit A.I.R. Chaz Bear',
  ][index];


export const _projectDatas = (index: number) =>
    [
        {
            "id": "1",
            "name": "Nginx",
            "description": "Nginx是非同步框架的網頁伺服器，也可以用作反向代理、負載平衡器和HTTP快取",
            "projectRep": "https://gitee.com/tanoo/docker-compose/tree/tn/nginx",
            "coverUrl": "/assets/images/product/product-1.webp",
            "status": "uninstalled",
            "way": "docker",
            "type": "env"
        },
        {
            "id": "2",
            "name": "MySQL",
            "description": "一个开放源码的关系数据库管理系统",
            "projectRep": "https://gitee.com/detabes/deploy-project-record.git",
            "coverUrl": "/assets/images/product/product-2.webp",
            "status": "install",
            "way": "system",
            "type": "env"
        },
        {
            "id": "3",
            "name": "Redis",
            "description": "一个使用ANSI C编写的支持网络、基于内存、分布式、可选持久性的键值对存储数据库。",
            "projectRep": "https://gitee.com/detabes/deploy-project-record.git",
            "coverUrl": "/assets/images/product/product-3.webp",
            "status": "install",
            "way": "docker",
            "type": "env"
        },
        {
            "id": "4",
            "name": "Elasticsearch",
            "description": "一个基于Lucene库的搜索引擎",
            "projectRep": "https://gitee.com/detabes/deploy-project-record.git",
            "coverUrl": "/assets/images/product/product-4.webp",
            "status": "install",
            "way": "system",
            "type": "env"
        },
        {
            "id": "5",
            "name": "数据分析看板",
            "description": "可视化业务数据的仪表盘。",
            "projectRep": "data-dashboard",
            "coverUrl": "/assets/images/product/product-5.webp",
            "status": "install",
            "way": "docker",
            "type": "biz"
        },
        {
            "id": "6",
            "name": "API 网关",
            "description": "统一API接入和管理。",
            "projectRep": "api-gateway",
            "coverUrl": "/assets/images/product/product-6.webp",
            "status": "install",
            "way": "system",
            "type": "biz"
        },
        {
            "id": "7",
            "name": "支付处理系统",
            "description": "处理在线支付交易。",
            "projectRep": "payment-system",
            "coverUrl": "/assets/images/product/product-7.webp",
            "status": "uninstalled",
            "way": "docker",
            "type": "biz"
        },
        {
            "id": "8",
            "name": "管理后台",
            "description": "系统管理和配置界面。",
            "projectRep": "admin-panel",
            "coverUrl": "/assets/images/product/product-8.webp",
            "status": "uninstalled",
            "way": "system",
            "type": "biz"
        },
        {
            "id": "9",
            "name": "库存管理系统",
            "description": "跟踪和管理商品库存。",
            "projectRep": "inventory-system",
            "coverUrl": "/assets/images/product/product-9.webp",
            "status": "install",
            "way": "docker",
            "type": "biz"
        },
        {
            "id": "10",
            "name": "用户认证服务",
            "description": "用户身份验证和授权。",
            "projectRep": "auth-service",
            "coverUrl": "/assets/images/product/product-10.webp",
            "status": "uninstalled",
            "way": "system",
            "type": "biz"
        },
    ][index];
